package org.ykhl.appserver.exceptions;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * Created by lww on 9/9/16.
 */
@ResponseStatus(value = HttpStatus.UNAUTHORIZED,
                reason = "is not Permission")
public class ValidateException extends RuntimeException {
    public ValidateException() {
        super();
    }

    public ValidateException(Throwable cause) {
        super(cause);
    }

    public ValidateException(String message) {
        super(message);
    }

    public ValidateException(String message, Throwable cause) {
        super(message, cause);
    }
}
